package com.bplow.deep.sysmng.service.impl;

import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bplow.deep.authority.ShiroAuthService;
import com.bplow.deep.sysmng.mapper.SysPermissionResourceMapper;

@Service
public class ShiroAuthServiceImpl implements ShiroAuthService{

	@Autowired
	private SysPermissionResourceMapper permResMapper;
	
	@Override
	public Set<String> getPermsByUrl(String path) {
		
		Set<String> perms = permResMapper.queryPermByUrl(path);
		
		return perms;
	}

}
